package com.zhike.common.dto;

import java.util.ArrayList;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class GroupReqDTO {

    @ApiModelProperty(value = "申请记录ID", required = true)
    @NotNull(message = "缺少参数id")
    private Integer id;

    @ApiModelProperty(value = "群ID", required = true)
    @NotNull(message = "缺少参数groupId")
    private String groupId;

    @ApiModelProperty(value = "邀请人Uid")
    @NotNull(message = "缺少参数userId")
    private String userId;

    @ApiModelProperty(value = "群成员", required = true)
    @NotNull(message = "缺少参数members")
    private ArrayList<GroupMemberEntity> members;
}
